﻿using System;

namespace Sustainalytics.DynamicsCRMGateway
{
    public class CrmContact
    {
        public Guid Id { get; set; }

        public string Email { get; set; }

        public string FullName { get; set; }

        public string FirstName { get; set; }

        public string MiddleName { get; set; }

        public string LastName { get; set; }

        public DateTime ModifiedOn { get; set; }

        public bool IsActive { get; set; }

        public Guid? AccountId { get; set; }

        public bool IsPlatformUser { get; set; }
    }

    public static class CrmContactInfo
    {
        public const string EntityName = "contact";

        public const string FirstName = "firstname";
        public const string MiddleName = "middlename";
        public const string LastName = "lastname";
        public const string FullName = "fullname";

        public const string Email = "emailaddress1";
        public const string ModifiedOn = "modifiedon";

        public const string AccountId = "parentcustomerid";
        public const string IsPlatformUser = "new_platformuser";

        public const string StateCode = "statecode";

        public enum StateCodeEnum
        {
            Active = 0,
            Inactive
        }
    }
}
